<% #service = Service.find_by_name("Наши практики:") %>
<% service = Service.find(:first, :order=>'id ASC')%>

<ul id="menu">
  <li <%= "class=\"active\"" if request.request_uri == root_path -%>><%= link_to 'Главная', root_path -%></li>
  <li <%= "class=\"active\"" if request.path_parameters['controller'] == "articles" -%>><%= link_to 'Новости', formatted_articles_path(:format => :html) -%></li>
  <li <%= "class=\"active\"" if request.path_parameters['controller'] == "services" -%>><%= link_to 'Услуги', formatted_service_path(service, :format => :html) -%></li>
  <li <%= "class=\"active\"" if request.path_parameters['controller'] == "employees" -%>><%= link_to 'Команда', formatted_employees_path(:format => :html) -%></li>
  <li <%= "class=\"active\"" if request.request_uri == formatted_contact_path(:format => :html) -%>><%= link_to 'Контакты', formatted_contact_path(:format => :html) -%></li>
</ul>
